package com.csun.cmny.provider.model.dto.longRangeServiceOrder;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class LongRangeServiceComplaintSelectDto {


    //订单id
    private Long serviceOrderId;

    //投诉对象 0-专家 1-商家&社区
    @NotNull(message = "{complaint.targetOfComplaint.null}")
    private Integer targetOfComplaint;


    //订单编号
    private String orderNo;


    //联系人
    private String linkman;

    //联系电话
    private String phone;

    //投诉状态 0-无投诉 1-待处理 2-已处理
    private Integer complaintStatus;

    /*订单类型 0-咨询订单 1-远程视频订单 2-远程监测订单*/
    private Integer orderType;

    /*开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String startTime;

    /*结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String endTime;

    //专家id
    private Long specialistId;
}
